package com.itheima.thread.线程创建.demo1;

public class MyThread extends Thread {
    @Override
    public void run() {
        for (int i = 0; i < 1000; i++) {
            System.out.println(super.getName() + "线程开启了" + i);
        }
        System.exit(0);
    }
}
